<ui:composition  xmlns="http://www.w3.org/1999/xhtml"
                 xmlns:h="http://java.sun.com/jsf/html"
                 xmlns:f="http://java.sun.com/jsf/core"
                 xmlns:ui="http://java.sun.com/jsf/facelets"
                 xmlns:p="http://primefaces.org/ui"
                 xmlns:xc="http://java.sun.com/jsf/composite/xpert/components"
                 xmlns:x="http://xpert.com/faces">

    <p:tab title="City.java">
        <pre name="code" class="java">
            package com.xpert.showcase.model;

            import java.io.Serializable;
            import javax.persistence.Entity;
            import javax.persistence.GeneratedValue;
            import javax.persistence.GenerationType;
            import javax.persistence.Id;
            import javax.persistence.ManyToOne;

            @Entity
            public class City implements Serializable {

                @Id
                @GeneratedValue(strategy = GenerationType.AUTO)
                private Long id;
                @ManyToOne
                private State state;
                private String name;

                public Long getId() {
                    return id;
                }

                public void setId(Long id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public State getState() {
                    return state;
                }

                public void setState(State state) {
                    this.state = state;
                }
            }

        </pre>
    </p:tab>
</ui:composition>
